package demo.standard;

/**
 * 对象适配器
 */
public class AdapterByObject implements ITarget {
    private Adaptee adaptee = new Adaptee();

    @Override
    public void useForClient() {
        System.out.println("对象适配器AdapterByObject--使用Adaptee");
        adaptee.use();
    }
}
